Measurement Function

- Difference between SCALar and ARRay

The second level node of FETC?, READ?, and MEAS? can be [SCALar] or ARRay.

[SCALar] is the default node that can be omitted and returns the measured data of the channel specified by CHAN:VOLT:NSEL.

ARRay returns the measured data of all logical channels that are set as scanned sources for voltage scanning in comma-separated format.

- Difference between FETC, READ, and MEAS

FETC acquires data that has been measured already without starting the measurement operation. If you use the FETC? query without initiating the voltage scanning operation after the measured data has been discarded, an SCPI error (-230, "Data corrupt or stale") occurs. This is because there is no valid measured data, and the acquisition of measured data cannot be expected. Be sure to use this command with the INIT command.

READ starts a new measurement operation and acquires the resultant data. The READ command is a combination of INIT and FETC.

MEAS resets the settings to default, starts a new measurement operation, and acquires the resultant data. The MEAS command is a combination of ABOR, CONF, and READ.

INIT

Initiates the voltage scanning. INIT discards the measured data that is already being held immediately before performing the measurement. If a FETC? query is sent immediately after INIT, measured data is returned after waiting for the measurement to complete.

Command

INITiate[:IMMediate][:ALL]

ABOR

Aborts the scanning currently in progress. Does nothing if the measurement is not in progress.
The condition of the KFM2151 after the power is turned on or immediately after switching from local to remote mode is the same as the condition after ABOR is sent. If ABOR is sent while measurement is in progress, the measured data remains void. If ABOR is sent when the status has not be initialized and the measured data being held is valid, the measured data is never discarded.

Command

ABORt

*RST

Aborts voltage scanning and discards the measured data being held. Therefore, *RST;:FETC? results in an SCPI error (-230, "Data corrupt or stale"), because a query is being made when there is no valid measured data and acquisition of new data cannot be expected.

Command

*RST

FETC
FETC:ARR

Queries the voltage measurement data.

The second level node can be [SCALar] or ARRay.

Command

FETCh[:SCALaar][:VOLTage[:DC]]?

FETCh:ARRay[:VOLTage[:DC]]?

Response

Returns the measured data in the <NR3> form in response to FETC?.

Returns the measured data in the <NR3>, <NR3>... form in response to FETC:ARR?.

Unit: | V

READ
READ:ARR

Performs voltage scanning and queries the voltage measurement data.

The second level node can be [SCALar] or ARRay.

Command

READ[:SCALaar][:VOLTage[:DC]]?

READ:ARRay[:VOLTage[:DC]]?

Response

Returns the measured data in the <NR3> form in response to READ?.

Returns the measured data in the <NR3>, <NR3>... form in response to READ:ARR?.

Unit: | V

MEAS:VOLT
MEAS:ARR:VOLT

Resets the settings to default (the range can be set), performs voltage scanning, and queries the voltage measurement data.

The second level node can be [SCALar] or ARRay.

Command

MEASure[:SCALaar]:VOLTage[:DC]? [{<numeric>|MIN|MAX|DEF}]

MEASure:ARRay[:SCALaar]:VOLTage[:DC]? [{<numeric>|MIN|MAX}]

Parameter <numeric> Voltage range setting

Value: | 2, 20, or 200 | If default is specified or the parameter is omitted, the range of all channels is set to AUTO.

Response

Returns the measured data in the <NR3> form in response to MEAS?.

Returns the measured data in the <NR3>, <NR3>... form in response to MEAS:ARR?.

Unit: | V